package cn.bocweb.spinning.view.adapter;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;

import cn.bocweb.spinning.view.fragment.MainInfoFragment;

/**
 * Created by chenchangxing on 16/7/4.
 */
public class MainInfoPagerAdapter extends FragmentPagerAdapter {

    public MainInfoPagerAdapter(FragmentManager fm) {
        super(fm);
    }

    @Override
    public Fragment getItem(int position) {
        return new MainInfoFragment();
    }

    @Override
    public int getCount() {
        return 1;
    }
}
